package com.aaa.controller;

import com.aaa.service.impl.EachrtsServiceImpl;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @ClassName: EachrtsController
 * @Description: TODO
 * @Author: 86139
 * @Date: 2021/9/21 19:35
 * @Version:1.0
 **/
@RestController
@RequestMapping("eachrts")
public class EachrtsController {
    @Resource
    EachrtsServiceImpl eachrtsService;
    @RequestMapping("sex")
    public List<Map<String,Object>> eachrtsSex(){
        return eachrtsService.eachrtsSex();
    }
    @RequestMapping("type")
    public List<Map<String,Object>> eachrtsType(){
        return eachrtsService.eachrtsType();
    }
}
